SET.IN_USE Function

Syntax

Result_Flag as L = set.in_use(C setname )

Arguments

setname

Character

Description

The .IN_USE() method returns .T. (TRUE) if any of the tables that comprise a set are in use; otherwise, it returns .F. (FALSE).

Discussion

The .IN_USE() method returns .T. (TRUE) if any of the tables that comprise a set are in use; otherwise, it returns .F. (FALSE).

The following example shows the result when a form that displays part of the invoice set is open.

dim ptr as P
ptr = set.open("invoice")
? ptr.in_use("invoice")  ->  .T.

See Also